#ifndef __STRPROC_H_
#define __STRPROC_H_
#include <Arduino.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
char strgsr(char *dst, char *src, char separator);
char strgsl(char *dst, char *src, char separator);
char strrgsr(char *dst, char *src, char separator);
char strrgsl(char *dst, char *src, char separator);
char _strupr(char *dst, char *src);
char _strlwr(char *dst, char *src);
char strdet(char *dst, char *src, char ch);
char strmsak(char *dst, char *src, char maskstart, char maskend);
int strchrnum(char *src, char ch);
char strisjson(char *src);
// Read a floating point value from a string. Line points to the input buffer, char_counter
// is the indexer pointing to the current character of the line, while float_ptr is
// a pointer to the result variable. Returns true when it succeeds
uint8_t str2float(char *line, int *char_counter, float *float_ptr);

#endif
